Package-level declarations
Functions
Link copied to clipboard
fun PagerProgressBar(pagerState: PagerState, buttonPriority: SourceButton.Priority, modifier: Modifier = Modifier, selectedIndicatorColour: AppColour = DefaultSelectedIndicatorColour, unSelectedIndicatorColour: AppColour = DefaultUnSelectedIndicatorColour, prevButtonContentDescription: String? = null, nextButtonContentDescription: String? = null, showProgressButtons: Boolean = isTabletDevice())
fun PagerProgressBar(pagerState: PagerState, modifier: Modifier = Modifier, buttonColours: ButtonColours = DefaultButtonColours, disabledButtonColours: ButtonColours? = disabledModeButtonColours(buttonColours), selectedIndicatorColour: AppColour = DefaultSelectedIndicatorColour, unSelectedIndicatorColour: AppColour = DefaultUnSelectedIndicatorColour, prevButtonContentDescription: String? = null, nextButtonContentDescription: String? = null, showProgressButtons: Boolean = isTabletDevice())
A progress bar that shows the current page of a PagerState and, on tablets, allows the user to navigate between pages using next/prev buttons.
Link copied to clipboard
fun PagerProgressButtons(pagerState: PagerState, prevButtonContentDescription: String?, nextButtonContentDescription: String?, modifier: Modifier = Modifier, buttonColours: ButtonColours = DefaultButtonColours, disabledButtonColours: ButtonColours? = disabledModeButtonColours(buttonColours), pageSlideAnimationSpec: AnimationSpec<Float> = DefaultPageSlideAnimationSpec)
Function to display progress buttons for a pager.
Link copied to clipboard
fun PagerProgressIndicator(pagerState: PagerState, selectedIndicatorColour: Color, unSelectedIndicatorColour: Color, modifier: Modifier = Modifier, maxIndicatorCount: Int = DefaultIndicatorCount, indicatorSpacing: Dp = DefaultItemSpacing, indicatorShape: Shape = CircleShape, selectedItemSize: Dp = DefaultSelectedItemSize, unselectedItemScaleFactor: Float = DefaultUnselectedItemScaling, numberOfItemsToScale: Int = DefaultNumberOfItemsToScale, itemsVerticalAlignment: Alignment.Vertical = Alignment.CenterVertically)
A pager progress indicator that displays progress indicators to represent progress in a HorizontalPager or a VerticalPager.